package com.hqx.order.master.feign.fallback;

import com.hqx.cloud.output.dto.User;
import com.hqx.order.master.feign.UserFeign;
import org.springframework.stereotype.Component;

/**
 * @description: fallback
 * @author: Yz
 * @create: 2020-04-01 17:04
 **/
@Component
public class UserFeignFallback  implements UserFeign {
    @Override
    public User getUser() {
        return new User();
    }

    @Override
    public String getString() {
        return "error";
    }
}

